home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 25 / 025.d81 / t.sound advice 1 < prev    next >
Text File  |  2022-08-26  |  7KB  |  404 lines

  1.  
  2.  
  3.      SOUND ADVICE for the C-128
  4.                  by
  5.             Gary Fields
  6.  
  7. COMMODORE POWER/PLAY MAGAZINE
  8. June/July, 1986
  9. p.100
  10.  
  11. **************************************
  12. NOTE: Because this program is written
  13. for the C-128 it cannot be run
  14. directly from LOADSTAR 64.  To run the
  15. program, press your RESET button.
  16. This will automatically display a
  17. menu of the C-128 programs in this
  18. issue.  Choose the program you wish
  19. to run from this menu.
  20. **************************************
  21.  
  22.  
  23.   SOUND ADVICE, a sound editor for the
  24.  
  25. C-128, has two main options.  One
  26.  
  27. option lets you create sound effects
  28.  
  29. such as rusty hinges or laser blasts.
  30.  
  31. The other option lets you turn your
  32.  
  33. C-128 into a musical instrument.
  34.  
  35.  
  36.   When you have the sound that you
  37.  
  38. want (sound effect OR music), you can
  39.  
  40. print the statements and parameters
  41.  
  42. used to create it to on printer.
  43.  
  44. You can then use the sound in your own
  45.  
  46. BASIC programs by typing in the
  47.  
  48. listing your printer produces into
  49.  
  50. your program.
  51.  
  52.  
  53. USING SOUND ADVICE....
  54.  
  55.  
  56.   The first screen that you see
  57.  
  58. serves as a main menu.  Here you
  59.  
  60. choose whether you want to work on a
  61.  
  62. sound effect (ENVELOPE), play music
  63.  
  64. (PLAY), or QUIT.
  65.  
  66.  
  67. THE ENVELOPE OPTION
  68.  
  69.   When you choose this option, you
  70.  
  71. are first asked to define important
  72.  
  73. parameters of the sound: volume,
  74.  
  75. voice, frequency, and duration.  Use
  76.  
  77. this table (and experimentation) to
  78.  
  79. choose these values:
  80.  
  81.  
  82.              TABLE A
  83.  
  84. VOLUME: 15
  85. VOICE: V= 1
  86. FREQUENCY: F= 4444
  87. DURATION: D= 10
  88.  
  89.  
  90.   Once you have entered these values,
  91.  
  92. you are asked to set some optional
  93.  
  94. parameters.  First, though, you are
  95.  
  96. given a chance to hear the sound in
  97.  
  98. its present state and alter it-- enter
  99.  
  100. "N" instead of the default value of
  101.  
  102. (Y)es at the OPTIONAL PARAMETERS line.
  103.  
  104.  
  105.   You will then see a SOUND AGAIN
  106.  
  107. line that prompts you to (y)es, hear
  108.  
  109. the sound again, (n)ot hear it again,
  110.  
  111. (c)lear screen, (p)rint information,
  112.  
  113. or (q)uit.
  114.  
  115.  
  116.   If you answer "no", the cursor will
  117.  
  118. return to the VOLUME line, allowing
  119.  
  120. you to change the first values.  If
  121.  
  122. you answer "quit" you will return to
  123.  
  124. the main menu.  And if you enter
  125.  
  126. "print", a window containing prompts
  127.  
  128. to dump the sound's statements to the
  129.  
  130. printer will open at the bottom of the
  131.  
  132. screen.
  133.  
  134.  
  135.   Entering the default value at the
  136.  
  137. OPTIONAL PARAMETERS line lets you set
  138.  
  139. the sweep direction, the minimum
  140.  
  141. sweep frequency, the sweep step
  142.  
  143. value, and the waveform.  Notice
  144.  
  145. that if you choose Option Two for the
  146.  
  147. WAVEFORM parameter, you must set the
  148.  
  149. PULSE WIDTH parameter also.
  150.  
  151.  
  152.   Don't worry about coming up with
  153.  
  154. these values off of the top of your
  155.  
  156. head-- SOUND ADVICE's author urges
  157.  
  158. you to experiment your first time
  159.  
  160. through the program.  You can also
  161.  
  162. refer to TABLE B for some sample
  163.  
  164. values for the optional parameters.
  165.  
  166.               TABLE B
  167.  
  168. DIRECTION: DR= 2 (OSCILLATE FREQ)
  169. MINIMUM FREQUENCY: M= 4321
  170. STEP VALUE: S= 123
  171. WAVEFORM: W= 2 (VARIABLE PULSE)
  172. PULSE WIDTH: P= 3095
  173.  
  174.  
  175.   When you have entered the values
  176.  
  177. for WAVEFORM, the last parameter, you
  178.  
  179. will again see a SOUND AGAIN line
  180.  
  181. that allows you to hear the sound,
  182.  
  183. send it to the printer, or alter it
  184.  
  185. further.
  186.  
  187.  
  188. THE PLAY OPTION
  189.  
  190.  
  191.   The PLAY option turns your C-128
  192.  
  193. keyboard into a musical instrument.
  194.  
  195. When you choose this option from the
  196.  
  197. main menu, you will go to the PLAY
  198.  
  199. NOTES screen.  Again you will be
  200.  
  201. prompted to enter parameters defining
  202.  
  203. the volume and tempo.  (The larger the
  204.  
  205. number entered for TEMPO, the faster
  206.  
  207. the notes are sounded.)
  208.  
  209.  
  210.   Next, you are asked to DEFINE
  211.  
  212. ENVELOPE, in other words, to pick one
  213.  
  214. of the C-128's instruments to
  215.  
  216. redefine.  Then you must define some
  217.  
  218. of the musical properties of that
  219.  
  220. enevelope.  (Look at p.144 of your
  221.  
  222. C-128 systems guide to see these
  223.  
  224. properties and their predefined
  225.  
  226. values.)
  227.  
  228.  
  229.   Once you have entered these values,
  230.  
  231. you have the option to turn the
  232.  
  233. FILTER on.  If you turn it on, you
  234.  
  235. will be given five filter parameters
  236.  
  237. to define.  The author of the program
  238.  
  239. recommends that you become familiar
  240.  
  241. with the sublties of SOUND ADVICE
  242.  
  243. before you worry about filters too
  244.  
  245. much.
  246.  
  247.  
  248.   When you have defined these
  249.  
  250. parameters, you come to the PICK
  251.  
  252. COMMAND line.  Its six options allow
  253.  
  254. you to write and play notes as well
  255.  
  256. as sending them to the printer.
  257.  
  258.  
  259. THE SOUND NOTE OPTION
  260.  
  261.  
  262.   The first option, "S" will open a
  263.  
  264. window at the bottom of the screen
  265.  
  266. and show the values for the envelope
  267.  
  268. you have just defined.
  269.  
  270.  
  271.   You can now play notes if you press
  272.  
  273. any of the keys A through G.  To play
  274.  
  275. a sharp, press the "#" key and a note
  276.  
  277. key (A-G).  Press "4" before notes
  278.  
  279. for flats and the "period" first for
  280.  
  281. dotted notes.  You will see the notes
  282.  
  283. listed in the window under the value
  284.  
  285. information.
  286.  
  287.  
  288.   You can also change the way the
  289.  
  290. notes are played while you are in the
  291.  
  292. SOUND NOTE option.  Pressing "O" and
  293.  
  294. following it with a number (0-6) will
  295.  
  296. change the notes octave.  You can
  297.  
  298. also change the volume (U), select
  299.  
  300. another envelope (T), and turn the
  301.  
  302. filter on and off (X), in the same
  303.  
  304. manner.  You may also play different
  305.  
  306. voices by entering "V" followed by a
  307.  
  308. "1", "2", or "3", but the author
  309.  
  310. suggests that you stay with Voice 1.
  311.  
  312.  
  313.   You can change the duration of the
  314.  
  315. notes by typing in W (whole note), H
  316.  
  317. (half), Q (quarter), I (eighth), or S
  318.  
  319. (sixteenth).  SOUND ADVICE, in order
  320.  
  321. to match all of the C-128's sound
  322.  
  323. statements exactly, "R" ("rest until
  324.  
  325. all voices playing end") and "M"
  326.  
  327. (wait for end of measure") have been
  328.  
  329. added-- but they will not alter what
  330.  
  331. you hear.
  332.  
  333.  
  334.   To quit the SOUND NOTE option,
  335.  
  336. press the SPACE BAR.
  337.  
  338.  
  339. THE DUMP WINDOW OPTION
  340.  
  341.  
  342.   If you like how a particular
  343.  
  344. combination sounds, you might want to
  345.  
  346. print out a record of the notes and
  347.  
  348. values.  Use the "D" option from the
  349.  
  350. PICK COMMAND line to send this
  351.  
  352. information to the printer.
  353.  
  354.  
  355.   If you are using a non-Commodore
  356.  
  357. printer, the reversed type in the
  358.  
  359. window might cause you to get some
  360.  
  361. unwanted results when you print.  To
  362.  
  363. fix this problem, use the cursor left
  364.  
  365. and cursor right keys to remove the
  366.  
  367. reversed type before printing. (The
  368.  
  369. cursor right key will print colons on
  370.  
  371. the screen, but colons will not be
  372.  
  373. printed by the printer.)
  374.  
  375.  
  376. THE PRINT OPTION
  377.  
  378.   Entering "P" will make a printout of
  379.  
  380. the information on the screen.  It
  381.  
  382. also prints an example program that
  383.  
  384. you can duplicate for use in your own
  385.  
  386. programs.  Line 50 of this program
  387.  
  388. prints out: FOLLOWED BY SELECTED
  389.  
  390. NOTES.  If you liked the notes you
  391.  
  392. have created, you can insert those
  393.  
  394. notes into Line 50.  The result will
  395.  
  396. be a customized melody.
  397.  
  398.  
  399. FILES REQUIRED:
  400.  
  401. SOUND ADVICE.128
  402.  
  403. -----------< end of text >------------
  404.